package org.example;
public class Person {
    protected String id;
    protected String name;
    protected String gender;

    public Person() {
    }

    public Person(String id, String name, String gender) {
        this.id = id;
        this.name = name;
        this.gender = gender;
    }

    public void printWorkOrder() {
        System.out.println("人员基本信息：");
        System.out.println("编号：" + id + "，姓名：" + name + "，性别：" + gender);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
}